﻿@model MyPSDALayer.ResourceType
@{
    ViewBag.Title = "新增资源类型";
}
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>ResourceType</legend>
        <div class="editor-label">
            @Html.LabelFor(model => model.ResourceTypeName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ResourceTypeName)
            @Html.ValidationMessageFor(model => model.ResourceTypeName)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Descr)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Descr)
            @Html.ValidationMessageFor(model => model.Descr)
        </div>
        <p>
            <input type="submit" value="保存" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("回到列表", "Index")
</div>
